﻿using System;
using System.Collections.Generic;
using System.IO;

namespace SoccerEvaluator.Common.Interface
{
    /// <summary>
    /// 
    /// </summary>
    public interface IResultHelper
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="u"></param>
        void AddOrUpdate(TemplateInfo u);
        /// <summary>
        /// 
        /// </summary>
        /// <param name="path"></param>
        void Delete(TemplateInfo u);
        /// <summary>
        /// 
        /// </summary>
        /// <param name="userId"></param>
        /// <param name="templateId"></param>
        /// <returns></returns>
        TemplateInfo Get(int userId, int templateId);
        /// <summary>
        /// 
        /// </summary>
        /// <param name="templateId"></param>
        /// <returns></returns>
        List<TemplateInfo> List(int templateId);
        /// <summary>
        /// 
        /// </summary>
        /// <param name="userId"></param>
        /// <returns></returns>
        List<TemplateInfo> ListByUser(int userId);
    }
}
